import net.alche.al.util.AC;
import net.alche.al.util.Far;
import net.alche.sdd.servlet.SddHttpServer;
import net.alche.sdd.servlet.imp.SddHttpServerBase;
import net.alche.sdd.servlet.imp.SddHttpServerHot;

@SuppressWarnings("all")
public class App {
  public static void main(String[] args) throws Exception {
    if (args != null && args.length > 0 && "prod".equals(args[0])) {
      SddHttpServerBase serv = new SddHttpServerBase(0, null);
      serv.isProd = true;
      serv.start();
    } else {
      SddHttpServerHot serv = new SddHttpServerHot(0, null);
      serv.start();
    }
  }
}
